package com.springdemo.spring5.AOP.aopanno;

import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * User: zjz
 * Date: 2022/02/27 14:23
 * Description:
 * Version: V1.0
 */
//被增强类
    @Component
public class User {
    public void add(){
        // 异常：int i=10/0;
        System.out.println("add...");
    }
}
